﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AuditPersonalList.aspx.cs" Inherits="StudentManage.Web.Admin.Management.PersonalManage.AuditPersonalList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register src="/Admin/PageHead/UC_Head.ascx" tagname="UC_Head" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <uc1:UC_Head ID="UC_Head1" runat="server" />
    <script type="text/javascript">
        $(document).ready(function () {
            var dlg = $("#dialog-assess").dialog({
                autoOpen: false,
                height: 'auto',
                width: 'auto',
                modal: true,
                buttons: {
                    提交: function () {
                        var container = $("#dialog-assess iframe").first().contents();

                        if (container.length == 0)
                            container = $("#dialog-assess");

                        btnclick();
                        container.find("input[type=submit]").get(0).click();
                        //$(".ui-dialog-buttonset button:last").click();
                    },
                    取消: function () {
                        if (sp.page.backvalue != '-1') {
                            location.href = location.href.split('?')[0] + "?backvalue=" + sp.page.backvalue;
                        }
                        $(this).dialog("close");
                    }
                },
                close: function () {
                }
            });
            dlg.parent().appendTo("#dialog_target");
        });
        function ShowAssess() {
            $("#dialog-assess").dialog('open');
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField ID="HidShowId" runat="server" />
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="17" height="29" valign="top" background="../images/mail_leftbg.gif">
                <img src="../../images/left-top-right.gif" width="17" height="29" />
            </td>
            <td height="29" valign="top" background="../images/content-bg.gif">
                <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg"
                    id="table2">
                    <tr>
                        <td height="31">
                            <div class="titlebt">申请人员列表</div>
                        </td>
                    </tr>
                </table>
            </td>
            <td width="16" valign="top" background="../images/mail_rightbg.gif">
                <img src="../../images/nav-right-bg.gif" width="16" height="29" />
            </td>
        </tr>
        <tr>
            <td height="71" valign="middle" background="../../images/mail_leftbg.gif">
                &nbsp;
            </td>
            <td valign="top" bgcolor="#F7F8F9">
                <table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td height="13" valign="top">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td class="left_txt">
                                        当前位置：申请人员列表
                                    </td>
                                </tr>
                                <tr>
                                    <td height="1" bgcolor="#CCC">
                                        
                                    </td>
                                </tr>
                                <tr>
                                    <td height="30" style="padding:10px 0px;">
                                        <table width="100%" border="0" cellpadding="0" cellspacing="0" node-type="header_table">
                                            <tr>
                                                <td align="right" style="width:60px;display:none;">所在班级：</td>
                                                <td style="width:100px; display:none;">
                                                    <asp:DropDownList ID="Drop_bj" runat="server">
                                                    </asp:DropDownList>
                                                </td>
                                                <td align="right" style="width:40px;">姓名：</td>
                                                <td style="width:180px;">
                                                    <asp:TextBox ID="txt_name" runat="server"></asp:TextBox>
                                                </td>
                                                <td align="left">
                                                    <asp:Button ID="Btn_Search" runat="server" OnClick="Btn_Search_Click"  Text="查询"/>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table width="100%" border="1" cellspacing="0" cellpadding="0" class="table120" style="border-collapse:collapse;">
                                            <thead class="nowtable">
                                                <tr>
                                                    <th style="width:40px;height: 25px; line-height: 25px;">
                                                        序号
                                                    </th>
                                                    <th>
                                                        学号
                                                    </th>
                                                    <th style="width:150px;">
                                                        班级
                                                    </th>
                                                    <th>
                                                        姓名
                                                    </th>
                                                    <th>
                                                        联系电话
                                                    </th>
                                                    <th style="width:150px;">
                                                        审批时间
                                                    </th>
                                                    <%--<th style="width:60px;">考勤管理</th>--%>
                                                    <th style="width:60px;">评论管理</th>
                                                    <th style="width:60px;">查看</th>
                                                </tr>
                                            </thead>
                                            <tbody id="UserTbody">
                                            <asp:Repeater ID="RepPostList" runat="server" OnItemCommand="RepPostList_ItemCommand">
                                                    <ItemTemplate>
                                                <tr>
                                                    <td><%#GetXN()%></td>
                                                    <td><%#Eval("XH")%></td>
                                                    <td><%#Eval("XZB")%></td>
                                                    <td><%#Eval("UserName").ToString()%></td>
                                                    <td><%#Eval("Tel")%></td>
                                                    <td><%#Eval("AddTime")%></td>
                                                    <%--<td><a href="CheckonList.aspx"><span style=" color:#f90; font-weight:600;">添加考勤</span></a></td>--%>
                                                    <td><asp:Button ID="Btn_Edit" runat="server" Text="填写评价" CommandArgument='<%#Eval("id")%>' CommandName="Assess" /></td>
                                                    <td><asp:Button ID="Btn_View" runat="server" CssClass="RepBtnView" CommandArgument='<%#Eval("id")%>' CommandName="View" /></td>
                                                </tr>
                                                 </ItemTemplate>
                                                </asp:Repeater>
                                            </tbody>
                                        </table>
                                        <webdiyer:aspnetpager id="AspNetPager1" runat="server" pagesize="10" 
                                            firstpagetext="首页" lastpagetext="尾页" nextpagetext="下一页" prevpagetext="上一页" showpageindex="true">
                                         </webdiyer:aspnetpager>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
            <td background="../../images/mail_rightbg.gif">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td valign="middle" background="../images/mail_leftbg.gif">
                <img src="../../images/buttom_left2.gif" width="17" height="17" />
            </td>
            <td height="17" valign="top" background="../../images/buttom_bgs.gif">
                <img src="../../images/buttom_bgs.gif" width="17" height="17" />
            </td>
            <td background="../images/mail_rightbg.gif">
                <img src="../../images/buttom_right2.gif" width="16" height="17" />
            </td>
        </tr>
    </table>

    <div class="sp-dialog-box" id="dialog-form" title="学员详细信息">
        <div class="dialogtd"  style="width:650px;">
            <table width="100%" border="1" cellspacing="0" cellpadding="0" style=" border-collapse:collapse;">
                <tr>
                    <td align="right" style="width:80px;">班级：</td>
                    <td><asp:Label ID="lab_UserClass" runat="server"></asp:Label></td>
                    <td align="right" style="width:80px;">学号：</td>
                    <td><asp:Label ID="lab_UserNum" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right">姓名：</td>
                    <td><asp:Label ID="lab_UserName" runat="server"></asp:Label></td>
                    <td align="right">性别：</td>
                    <td style=""><asp:Label ID="lab_UserSex" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right">联系电话：</td>
                    <td><asp:Label ID="lab_UserTel" runat="server"></asp:Label></td>
                    <td align="right">Email：</td>
                    <td style=""><asp:Label ID="lab_UserEmail" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right">申请理由：</td>
                    <td colspan="3"><asp:Label ID="lab_UserReason" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right">个人特长：</td>
                    <td colspan="3"><asp:Label ID="lab_UserSpeciality" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right">岗位经验：</td>
                    <td colspan="3"><asp:Label ID="lab_UserExperience" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right">兴趣爱好：</td>
                    <td colspan="3"><asp:Label ID="lab_UserHobby" runat="server"></asp:Label></td>
                </tr>
            </table>
            <asp:Button Text="提交" runat="server" style="display:none;" CssClass="die" ID="btPost" />
        </div>
    </div>

    <div class="sp-dialog-box" id="dialog-assess" title="填写评价">
        <div style="width:500px;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" style=" border-collapse:collapse;">
                <tr>
                    <td align="right"  style="width:80px;padding:5px 0px; font-weight:600;">评价等级：</td>
                    <td><asp:DropDownList id="Drop_AssessLevel" runat="server">
                        <asp:ListItem Value="良" Text="良"></asp:ListItem>
                        <asp:ListItem Value="优秀" Text="优秀"></asp:ListItem>
                    </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top" align="right" style="padding:5px 0px; font-weight:600;">评价内容:</td>
                    <td>
                        <asp:TextBox ID="txt_content" runat="server" TextMode="MultiLine" style="width:400px; height:200px;"></asp:TextBox>
                    </td>
                </tr>
            </table>
            <asp:Button Text="提交" runat="server" style="display:none;" CssClass="die" ID="Btn_SaveContent" OnClick="Btn_SaveContent_Click" />
        </div>
    </div>
    <div id="dialog_target"></div>
    </form>
</body>
</html>
